package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测评对象 sp_cp
 * 
 * @author ruoyi
 * @date 2022-11-16
 */
public class SpCp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 测评id */
    private Long cpId;

    /** 所属区 */
    private Long quId;

    @Excel(name = "所属区")
    private String qushu;

    /** 所属学校 */
    @Excel(name = "所属学校")
    private String xuexiao;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idno;

    /** 性别 */
    private Long sex;

    @Excel(name = "性别")
    private String sexstr;

    public String getQushu() {
        return qushu;
    }

    public void setQushu(String qushu) {
        this.qushu = qushu;
    }

    public String getSexstr() {
        return sexstr;
    }

    public void setSexstr(String sexstr) {
        this.sexstr = sexstr;
    }

    /** 年龄 */
    @Excel(name = "电子邮箱")
    private String age;

    @Excel(name = "联系电话")
    private String dn;

    public String getDn() {
        return dn;
    }

    public void setDn(String dn) {
        this.dn = dn;
    }

    /** 测评类型 */
    private Long cptype;


    @Excel(name = "测试性质")
    private String cptypestr;

    @Excel(name = "测试地点")
    private String address;


    public String getCptypestr() {
        return cptypestr;
    }

    public void setCptypestr(String cptypestr) {
        this.cptypestr = cptypestr;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /** 报名项目 */
    private String xmids;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String xmnames;

    public void setCpId(Long cpId) 
    {
        this.cpId = cpId;
    }

    public Long getCpId() 
    {
        return cpId;
    }
    public void setQuId(Long quId) 
    {
        this.quId = quId;
    }

    public Long getQuId() 
    {
        return quId;
    }
    public void setXuexiao(String xuexiao) 
    {
        this.xuexiao = xuexiao;
    }

    public String getXuexiao() 
    {
        return xuexiao;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setIdno(String idno) 
    {
        this.idno = idno;
    }

    public String getIdno() 
    {
        return idno;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setCptype(Long cptype) 
    {
        this.cptype = cptype;
    }

    public Long getCptype() 
    {
        return cptype;
    }
    public void setXmids(String xmids) 
    {
        this.xmids = xmids;
    }

    public String getXmids() 
    {
        return xmids;
    }
    public void setXmnames(String xmnames) 
    {
        this.xmnames = xmnames;
    }

    public String getXmnames() 
    {
        return xmnames;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cpId", getCpId())
            .append("quId", getQuId())
            .append("xuexiao", getXuexiao())
            .append("username", getUsername())
            .append("idno", getIdno())
            .append("sex", getSex())
            .append("age", getAge())
            .append("cptype", getCptype())
            .append("xmids", getXmids())
            .append("xmnames", getXmnames())
            .toString();
    }
}
